package com.njsf.dao;

import com.njsf.pojo.OrderDetail;
import com.njsf.pojo.OrderDetailPlus;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderDetailMapper {

    int insert(OrderDetail orderDetail);

    int batchInsert(List<OrderDetail> orderDetails);

    List<OrderDetailPlus> findDetailsByOrderNumber(String orderNumber);
}
